//#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
//字符库
const int font[][16] =
{
	/*黄  0*/0x0440,0x0440,0x7ff8,0x0440,0x0440,0xfffe,0x0100,0x1ff0,0x1110,0x1ff0,0x1110,0x1ff0,0x0000,0x0820,0x1010,0x600c,
	/*志  1*/0x0100,0x0100,0x0108,0x7ffc,0x0100,0x0100,0x0110,0x3ff8,0x0000,0x0a10,0x2908,0x292c,0x6824,0x4824,0x07e0,0x0000,
	/*雁  2*/0x0000,0x3ffe,0x2000,0x2250,0x2248,0x24be,0x2488,0x2d88,0x36be,0x2488,0x2488,0x24be,0x2488,0x4488,0x44be,0x8480,
};   


void func(const int (*Font)[16])
{
	int temp;
	for (int i = 0; i < 16; i++)//列运算
	{
		for (int k = 0; k < 3; k++)//行运算
		{
			for (int j = 0; j < 16; j++)//右移操作
			{
				temp = Font[k][i] & (0x8000 >> j);//从最高位开始 往下计算 每一位是否打印*
				if (temp != 0)	printf("*");
				else			printf(" ");
			}
		}
		printf("\v");
	}
}

int main()
{
	func(font);
	system("pause");
	return 0;
}